{% extends 'AdminPanelDashboardBundle::layout.html.twig' %}


{% block stylesheets %}
    {{ parent() }}
{% endblock %}
{% block javascripts %}
    {{ parent() }}
{% endblock %}
{% block content %}

<div id="content">
    <ul class="breadcrumb">
        <li><a href="index.php" class="glyphicons home"><i></i> Нүүр</a></li>
        <li class="divider"></li>
        <li>Меню</li>
    </ul>
    <div class="separator"></div>

    <div class="heading-buttons">
        <h3 class="glyphicons sort"><i></i> Меню засах</h3>        
    </div>
    <div class="separator"></div>

    <div class="innerLR">
        <div class="widget widget-gray widget-body-white">
            
            <div class="widget-body" style="padding: 10px 0 0;">
                <div class="row-fluid">
                    <div class="span12">
<form action="{{ path('menu_update', { 'id': entity.id }) }}" method="post" {{ form_enctype(edit_form) }}>
    {{ form_widget(edit_form) }}
    <p>
        <button type="submit">Edit</button>
    </p>
</form>

<ul class="record_actions">
    <li>
        <a href="{{ path('menu') }}">
            Back to the list
        </a>
    </li>
    <li>
        <form action="{{ path('menu_delete', { 'id': entity.id }) }}" method="post">
            {{ form_widget(delete_form) }}
            <button type="submit">Delete</button>
        </form>

                          
                    </div>
                </div>
            </div>

                
                
        </div>
    </div>
</div>

{% endblock %}